<?php

include __DIR__ . '/loader.php';

$action = isset($_GET['action']) ? $_GET['action'] : 'panduan';
switch ($action) {
	case 'logout':
		session_unset();
    	session_destroy();
    	session_write_close();
    	header("Location: login.php");
		die();
		break;
	case 'qas-satu':
		include __DIR__.'/checklist.php';
		break;
	// case 'qas-dua':
	// 	include __DIR__.'/qas-dua.php';
	// 	break;
	// case 'qas-tiga':
	// 	include __DIR__.'/qas-tiga.php';
	// 	break;
	// case 'panduan':
	// 	include __DIR__.'/panduan.php';
	// 	break;

	default:
		// include __DIR__.'/panduan.php';
		include __DIR__.'/checklist.php';
		break;
}